projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fa1cf
)
switch: Notify :state by pspec
author
Timm Bäder
<mail@baedert.org>
Wed, 30 Jan 2019 16:46:08 +0000
(17:46 +0100)
committer
Timm Bäder
<mail@baedert.org>
Wed, 30 Jan 2019 16:46:08 +0000
(17:46 +0100)
gtk/gtkswitch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkswitch.c
b/gtk/gtkswitch.c
index 7a0a2f54c2f1657f1dfa7308b2eb9438bea4db91..4bdfb5094fef6019450bb2c38f72dff6e7edce9a 100644
(file)
--- a/
gtk/gtkswitch.c
+++ b/
gtk/gtkswitch.c
@@
-762,7
+762,7
@@
gtk_switch_set_state (GtkSwitch *sw,
else
gtk_widget_unset_state_flags (GTK_WIDGET (sw), GTK_STATE_FLAG_CHECKED);
- g_object_notify
(G_OBJECT (sw), "state"
);
+ g_object_notify
_by_pspec (G_OBJECT (sw), switch_props[PROP_STATE]
);
}
/**